LDLIBS = -lGL -lglut -lgsl -lcblas -latlas
Includes = /opt/Science/include
Libraries = /opt/Science/lib
CPPFLAGS = -I$(Includes) -g -O4 -ffast-math
LDFLAGS = -L$(Libraries)

obj = main.o solvegeods.o front.o geodesic.o settings.o

.DEFAULT: kerr-wavefronts
kerr-wavefronts: $(obj)
	$(CXX) $(LDFLAGS) -o kerr-wavefronts $(obj) $(LDLIBS)

clean:
	rm -vf main $(obj) *.{cpp,h}~ Makefile~

distclean: clean
	rm -f kerr-wavefronts